package com.example.activiti.entity;


/**
 * @Description :
 * @Author : Bruce Lee
 * @CreateTime : 2024/6/14
 */

public class Approve {
    /** 主键 */
    private Long id;
    /** 流程实例ID */
    private String procInstId;
    /** 申请人 */
    private String name;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return this.id;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId;
    }

    public String getProcInstId() {
        return this.procInstId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }


    @Override
    public boolean equals(Object o) {
        if (this == o) { return true; }
        if (o == null || getClass() != o.getClass()) {return false;}
        Approve that = (Approve) o;
        return id.equals(that.id);
    }

    @Override
    public int hashCode() {
        return java.util.Objects.hash(id);
    }

    @Override
    public String toString() {
        return "Approve{" +
                "id=" + id +
                ",procInstId='" + procInstId + "'" +
                ",name='" + name + "'" +
                '}';
    }
}
